Skip to main content
POST
/
settings
/
logo
Upload site logo
curl --request POST \
  --url https://your_a2_service/settings/logo \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
{
  "file_path": "<string>",
  "thumb_path": "<string>",
  "thumb_url": "<string>",
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

multipart/form-data
file
file
required

Logo file to use.

Response

Successful Response

the result of a file upload operation.

file_path
string
required

The full path where the file is saved on the server.

url
string
required

The URL where the uploaded file can be accessed.

thumb_path
string | null

The full path were the thumbnail is saved on the server.

thumb_url
string | null

The URL where the uploaded thumbnail can be accessed.